﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class TinaXUIKitUIManagerWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(TinaX.UIKit.UIManager);
			Utils.BeginObjectRegister(type, L, translator, 0, 7, 5, 2);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Start", _m_Start);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenUI", _m_OpenUI);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenUIAsync", _m_OpenUIAsync);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenUIWithParam", _m_OpenUIWithParam);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenUIWithParamAsync", _m_OpenUIWithParamAsync);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CloseUI", _m_CloseUI);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetUIRouter", _m_SetUIRouter);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "Assets", _g_get_Assets);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_Core", _g_get_m_Core);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "UICamera", _g_get_UICamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenUIAsyncPipeline", _g_get_OpenUIAsyncPipeline);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenUIPipeline", _g_get_OpenUIPipeline);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "Assets", _s_set_Assets);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_Core", _s_set_m_Core);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new TinaX.UIKit.UIManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
			}
            return LuaAPI.luaL_error(L, "invalid arguments to TinaX.UIKit.UIManager constructor!");
            
        }
        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Start(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.Start(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OpenUI(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 3) || translator.Assignable<object>(L, 3))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    object[] _args = translator.GetParams<object>(L, 3);
                    
                        var gen_ret = gen_to_be_invoked.OpenUI( _UIName, _args );
                        translator.PushAny(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.XComponent.XBehaviour>(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<object>(L, 4))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.XComponent.XBehaviour _behaviour = (TinaX.XComponent.XBehaviour)translator.GetObject(L, 3, typeof(TinaX.XComponent.XBehaviour));
                    object[] _args = translator.GetParams<object>(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.OpenUI( _UIName, _behaviour, _args );
                        translator.PushAny(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.UIKit.OpenUIParam>(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<object>(L, 4))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 3, typeof(TinaX.UIKit.OpenUIParam));
                    object[] _args = translator.GetParams<object>(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.OpenUI( _UIName, _openUIParam, _args );
                        translator.PushAny(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.XComponent.XBehaviour>(L, 3)&& translator.Assignable<TinaX.UIKit.OpenUIParam>(L, 4)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 5) || translator.Assignable<object>(L, 5))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.XComponent.XBehaviour _behaviour = (TinaX.XComponent.XBehaviour)translator.GetObject(L, 3, typeof(TinaX.XComponent.XBehaviour));
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 4, typeof(TinaX.UIKit.OpenUIParam));
                    object[] _args = translator.GetParams<object>(L, 5);
                    
                        var gen_ret = gen_to_be_invoked.OpenUI( _UIName, _behaviour, _openUIParam, _args );
                        translator.PushAny(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to TinaX.UIKit.UIManager.OpenUI!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OpenUIAsync(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 3) || translator.Assignable<object>(L, 3))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    object[] _args = translator.GetParams<object>(L, 3);
                    
                        var gen_ret = gen_to_be_invoked.OpenUIAsync( _UIName, _args );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<object>(L, 4))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    System.Action<TinaX.UIKit.IUIEntity, TinaX.XException> _callback = translator.GetDelegate<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 3);
                    object[] _args = translator.GetParams<object>(L, 4);
                    
                    gen_to_be_invoked.OpenUIAsync( _UIName, _callback, _args );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.XComponent.XBehaviour>(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<object>(L, 4))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.XComponent.XBehaviour _behaviour = (TinaX.XComponent.XBehaviour)translator.GetObject(L, 3, typeof(TinaX.XComponent.XBehaviour));
                    object[] _args = translator.GetParams<object>(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.OpenUIAsync( _UIName, _behaviour, _args );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.UIKit.OpenUIParam>(L, 3)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 4) || translator.Assignable<object>(L, 4))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 3, typeof(TinaX.UIKit.OpenUIParam));
                    object[] _args = translator.GetParams<object>(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.OpenUIAsync( _UIName, _openUIParam, _args );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.XComponent.XBehaviour>(L, 3)&& translator.Assignable<TinaX.UIKit.OpenUIParam>(L, 4)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 5) || translator.Assignable<object>(L, 5))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.XComponent.XBehaviour _behaviour = (TinaX.XComponent.XBehaviour)translator.GetObject(L, 3, typeof(TinaX.XComponent.XBehaviour));
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 4, typeof(TinaX.UIKit.OpenUIParam));
                    object[] _args = translator.GetParams<object>(L, 5);
                    
                        var gen_ret = gen_to_be_invoked.OpenUIAsync( _UIName, _behaviour, _openUIParam, _args );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count >= 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.XComponent.XBehaviour>(L, 3)&& translator.Assignable<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 4)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 5) || translator.Assignable<object>(L, 5))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.XComponent.XBehaviour _behaviour = (TinaX.XComponent.XBehaviour)translator.GetObject(L, 3, typeof(TinaX.XComponent.XBehaviour));
                    System.Action<TinaX.UIKit.IUIEntity, TinaX.XException> _callback = translator.GetDelegate<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 4);
                    object[] _args = translator.GetParams<object>(L, 5);
                    
                    gen_to_be_invoked.OpenUIAsync( _UIName, _behaviour, _callback, _args );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.UIKit.OpenUIParam>(L, 3)&& translator.Assignable<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 4)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 5) || translator.Assignable<object>(L, 5))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 3, typeof(TinaX.UIKit.OpenUIParam));
                    System.Action<TinaX.UIKit.IUIEntity, TinaX.XException> _callback = translator.GetDelegate<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 4);
                    object[] _args = translator.GetParams<object>(L, 5);
                    
                    gen_to_be_invoked.OpenUIAsync( _UIName, _openUIParam, _callback, _args );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 5&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<TinaX.XComponent.XBehaviour>(L, 3)&& translator.Assignable<TinaX.UIKit.OpenUIParam>(L, 4)&& translator.Assignable<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 5)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 6) || translator.Assignable<object>(L, 6))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.XComponent.XBehaviour _behaviour = (TinaX.XComponent.XBehaviour)translator.GetObject(L, 3, typeof(TinaX.XComponent.XBehaviour));
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 4, typeof(TinaX.UIKit.OpenUIParam));
                    System.Action<TinaX.UIKit.IUIEntity, TinaX.XException> _callback = translator.GetDelegate<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 5);
                    object[] _args = translator.GetParams<object>(L, 6);
                    
                    gen_to_be_invoked.OpenUIAsync( _UIName, _behaviour, _openUIParam, _callback, _args );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to TinaX.UIKit.UIManager.OpenUIAsync!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OpenUIWithParam(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 3, typeof(TinaX.UIKit.OpenUIParam));
                    object[] _args = translator.GetParams<object>(L, 4);
                    
                        var gen_ret = gen_to_be_invoked.OpenUIWithParam( _UIName, _openUIParam, _args );
                        translator.PushAny(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OpenUIWithParamAsync(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    TinaX.UIKit.OpenUIParam _openUIParam = (TinaX.UIKit.OpenUIParam)translator.GetObject(L, 3, typeof(TinaX.UIKit.OpenUIParam));
                    System.Action<TinaX.UIKit.IUIEntity, TinaX.XException> _callback = translator.GetDelegate<System.Action<TinaX.UIKit.IUIEntity, TinaX.XException>>(L, 4);
                    object[] _args = translator.GetParams<object>(L, 5);
                    
                    gen_to_be_invoked.OpenUIWithParamAsync( _UIName, _openUIParam, _callback, _args );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CloseUI(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count >= 2&& translator.Assignable<TinaX.UIKit.Entity.UIEntity>(L, 2)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 3) || translator.Assignable<object>(L, 3))) 
                {
                    TinaX.UIKit.Entity.UIEntity _entity = (TinaX.UIKit.Entity.UIEntity)translator.GetObject(L, 2, typeof(TinaX.UIKit.Entity.UIEntity));
                    object[] _args = translator.GetParams<object>(L, 3);
                    
                    gen_to_be_invoked.CloseUI( _entity, _args );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count >= 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& (LuaTypes.LUA_TNONE == LuaAPI.lua_type(L, 3) || translator.Assignable<object>(L, 3))) 
                {
                    string _UIName = LuaAPI.lua_tostring(L, 2);
                    object[] _args = translator.GetParams<object>(L, 3);
                    
                    gen_to_be_invoked.CloseUI( _UIName, _args );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to TinaX.UIKit.UIManager.CloseUI!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetUIRouter(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    TinaX.UIKit.Router.IRouter _router = (TinaX.UIKit.Router.IRouter)translator.GetObject(L, 2, typeof(TinaX.UIKit.Router.IRouter));
                    
                    gen_to_be_invoked.SetUIRouter( _router );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Assets(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                translator.PushAny(L, gen_to_be_invoked.Assets);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_Core(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                translator.PushAny(L, gen_to_be_invoked.m_Core);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_UICamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.UICamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OpenUIAsyncPipeline(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.OpenUIAsyncPipeline);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OpenUIPipeline(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.OpenUIPipeline);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_Assets(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.Assets = (TinaX.Services.IAssetService)translator.GetObject(L, 2, typeof(TinaX.Services.IAssetService));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_Core(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                TinaX.UIKit.UIManager gen_to_be_invoked = (TinaX.UIKit.UIManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_Core = (TinaX.IXCore)translator.GetObject(L, 2, typeof(TinaX.IXCore));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
		
		
		
		
    }
}
